'use strict'

const Router = require('koa-router')

const router = new Router({
  prefix: '/v1',
})

router.get('/', function* () {
  console.log(this.accepts)
  this.body = {
    message: '/v1 endpoint',
  }
})

module.exports = router